package com.sina.microblog
{
	/**
	 * @private
	 * 所有微博开放平台api的地址配置 
	 * @author zhuchuanming
	 * @date 2012.1.18
	 * 
	 */	
	public class API
	{	
		public static const API_BASE_URL:String = "https://api.weibo.com/";
		
		public static const CONNECT_COMP:String = API_BASE_URL + "flash/connect.htm";
		
		public static const OAUTH_AUTHORIZE_REQUEST_URL:String = API_BASE_URL + "oauth2/authorize";
		public static const OAUTH_ACCESS_TOKEN_REQUEST_URL:String=API_BASE_URL + "oauth2/access_token";
		
		public static const STATUS_UPDATE:String = "2/statuses/update";
		public static const STATUS_UPLOAD:String = "2/statuses/upload";
		public static const STATUS_UPLOAD_URL_TEXT:String = "2/statuses/upload_url_text";
		
		public static const FRIENDS_TIMELINE:String = "2/statuses/friends_timeline";
		public static const USER_TIMELINE:String = "2/statuses/user_timeline";
		public static const STATUSES_SHOW:String = "2/statuses/show";
		public static const REPOST_DAILY:String = "2/statuses/hot/repost_daily";
		public static const REPOST_WEEKLY:String = "2/statuses/hot/repost_weekly";
		public static const COMMENTS_DAILY:String = "2/statuses/hot/comments_daily";
		public static const COMMENTS_WEEKLY:String = "2/statuses/hot/comments_weekly";
		public static const STATUSES_COUNT:String = "2/statuses/count";
		public static const STATUS_REPOST:String = "2/statuses/repost";
		public static const DELETE_STATUS:String = "2/statuses/destroy";
		public static const EMOTIONS:String = "2/emotions";
		public static const COMMENTS_SHOW:String = "2/comments/show";
		public static const COMMENTS_BY_ME:String = "2/comments/by_me";
		public static const COMMENTS_TO_ME:String = "2/comments/to_me";
		public static const COMMENTS_TIMELINE:String = "2/comments/timeline";
		public static const COMMENTS_MENTIONS:String = "2/comments/mentions";
		public static const COMMENTS_SHOW_BATCH:String = "2/comments/show_batch";
		public static const COMMENT_STATUS:String = "2/comments/create";
		public static const DELETE_COMMENT:String = "2/comments/destroy";
		public static const DELETE_COMMENTS_BATCH:String = "2/comments/destroy_batch";
		public static const REPLY_COMMENT:String = "2/comments/reply";
		
		public static const GET_USER_ID:String = "2/account/get_uid";
		public static const SHOW_USER:String = "2/users/show";
		public static const COUNTS_USERS:String = "2/users/counts";
		public static const FRIENDS:String = "2/friendships/friends";
		public static const FRIENDS_IN_COMMON:String = "2/friendships/in_common";
		public static const FRIENDS_BILATERAL:String = "2/friendships/friends/bilateral";
		public static const FOLLOWERS:String = "2/friendships/followers";
		public static const FOLLOWERS_ACTIVE:String = "2/friendships/followers/active";
		public static const FOLLOWERS_SHOW:String = "2/friendships/show";
		
		public static const FOLLOWER:String = "2/friendships/create";
		public static const CANCEL_FOLLOWER:String = "2/friendships/destroy";
		
		public static const RATE_LIMIT_STATUS:String = "2/account/rate_limit_status";
		public static const SCHOOL_LIST:String = "2/account/profile/school_list";
		
		public static const LOGOUT:String = "2/account/end_session";
		
		public static const FAVORITES:String = "2/favorites";
		public static const FAVORITE_SHOW:String = "2/favorites/show";
		public static const FAVORITE_BY_TAGS:String = "2/favorites/by_tags";
		public static const FAVORITE_TAGS:String = "2/favorites/tags";
		public static const ADD_FAVORITE:String = "2/favorites/create";
		public static const DELETE_FAVORITE:String = "2/favorites/destroy";
		public static const DELETE_FAVORITE_BATCH:String = "2/favorites/destroy_batch";
		public static const UPDATE_FAVORITE_TAGS:String = "2/favorites/tags/update";
		public static const UPDATE_FAVORITE_TAGS_BATCH:String = "2/favorites/tags/update_batch";
		public static const DELETE_FAVORITE_TAGS_BATCH:String = "2/favorites/tags/destroy_batch";
		
		public static const TRENDS:String = "2/trends";
		public static const IS_FOLLOW_TRENDS:String = "2/trends/is_follow";
		public static const TRENDS_HOURLY:String = "2/trends/hourly";
		public static const TRENDS_DAILY:String = "2/trends/daily";
		public static const TRENDS_WEEKLY:String = "2/trends/weekly";
		public static const FOLLOW_TRENDS:String = "2/trends/follow";
		public static const DELETE_TRENDS:String = "2/trends/destroy";
		
		public static const TAGS:String = "2/tags";
		public static const TAGS_BATCH:String = "2/tags/tags_batch";
		public static const SUGGESTIONS_TAGS:String = "2/tags/suggestions";
		public static const ADD_TAGS:String = "2/tags/create";
		public static const DELETE_TAGS:String = "2/tags/destory";
		public static const DELETE_TAGS_BATCH:String = "2/tags/destory_batch";
		
		public static const AT_USERS:String = "2/search/suggestions/at_users";
		public static const HOT_USERS:String = "2/suggestions/users/hot";
		public static const USERS_MAY_INTERESTED:String = "2/suggestions/users/may_interested";
		public static const USERS_BY_STATUS:String = "2/suggestions/users/by_status";
		public static const STATUSES_HOT:String = "2/suggestions/statuses/hot";
		public static const STATUSES_REORDER:String = "2/suggestions/statuses/reorder";
		public static const HOT_FAVORITES:String = "2/suggestions/favorites/hot";
		public static const USERS_NOT_INTERESTED:String = "2/suggestions/users/not_interested";
		public static const UNREAD_COUNT:String = "2/remind/unread_count";
		
		public static const CODE_TO_LOCATION:String = "2/common/code_to_location";
		public static const GET_CITY:String = "2/common/get_city";
		public static const GET_PROVINCE:String = "2/common/get_province";
		public static const GET_COUNTRY:String = "2/common/get_country";
		public static const BUS_LINE:String = "2/location/line/bus_line";
		
		public function API()
		{
			
		}
	}
}